package cn.bingo.yunsj.mapper;

import cn.bingo.yunsj.domain.RpSuccess;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RpSuccessMapper {
    int deleteByPrimaryKey(String successId);

    int insert(RpSuccess record);

    RpSuccess selectByPrimaryKey(String successId);

    List<RpSuccess> selectAll();

    int updateByPrimaryKey(RpSuccess record);

    List<RpSuccess> search(
            @Param("userModel") String userModel,
            @Param("start") String start,
            @Param("end") String end);

    List<RpSuccess> selectName();
}